<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>编辑软件信息</title>
  </head>
  
  <body>
  	<h2>编辑软件信息</h2>
	<form action="/edit" name="caedata" method="post">
		<b>序号</b>&emsp;&emsp;&emsp;&emsp;&emsp;<input type="text" name="id" value="${cae.id}" readonly="readonly"/><br><br>
		<b>软件名称</b>&emsp;&emsp;&emsp;<input type="text" name="software" value="${cae.software}"/><br><br>
		<b>许可IP</b>&emsp;&emsp;&emsp;&emsp;<input type="text" name="ip" value="${cae.ip}"/><br><br>
		<b>机器名</b>&emsp;&emsp;&emsp;&emsp;<input type="text" name="server" value="${cae.server}"/><br><br>
		<b>网卡地址</b>&emsp;&emsp;&emsp;<input type="text" name="address" value="${cae.address}"/><br><br>
		<b>端口号</b>&emsp;&emsp;&emsp;&emsp;<input type="text" name="port" value="${cae.port}"/><br><br>
		<b>许可文件</b>&emsp;&emsp;&emsp;<input type="text" name="license" value="${cae.license}" readonly="readonly"/><br><br>
		<b>许可有效期</b>&emsp;&emsp;<input type="text" name="date" value="${cae.date}"/><br><br><br>
		<input type="reset" value="重置"  />
		 &emsp;
        <input type="submit" value="提交" />
	</form>
  </body>
  
</html>
